package com.sinosoft.msf.base.supplier.pojo.entity;

import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.*;
import java.util.Date;

@Table(name = "s_project_company")
@Data
public class SProjectCompany {
    /**
     * 主键 id
     */
    @Id
    private String id;

    /**
     * 项目 ID
     */
    @Column(name = "project_id")
    private String projectId;

    /**
     * 公司 ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 公司修改 ID
     */
    @Column(name = "company_mod_id")
    private String companyModId;

    /**
     * 中签状态
     */
    private String status;

    /**
     * 删除标记
     */
    private String deleted;

    /**
     * 创建人
     */
    @Column(name = "created_id")
    private String createdId;
    /**
     * 报价信息
     */
    @Column(name = "price")
    private String price;
    /**
     * 报价单地址
     */
    @Column(name = "price_file")
    private String priceFile;
    /**
     * 报价时间
     */
    @Column(name = "price_date")
    private Date priceDate;
    /**
     * 报价IP
     */
    @Column(name = "price_ip")
    private String priceIp;

    /**
     * 创建时间
     */
    @Column(name = "created_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date createdDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getCreatedId() {
        return createdId;
    }

    public void setCreatedId(String createdId) {
        this.createdId = createdId;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPriceFile() {
        return priceFile;
    }

    public void setPriceFile(String priceFile) {
        this.priceFile = priceFile;
    }

    public Date getPriceDate() {
        return priceDate;
    }

    public void setPriceDate(Date priceDate) {
        this.priceDate = priceDate;
    }

    public String getPriceIp() {
        return priceIp;
    }

    public void setPriceIp(String priceIp) {
        this.priceIp = priceIp;
    }
}